package Month09.day0926.part_1;

import Month09.day0926.part_1.Persion;
import Month09.day0926.part_1.Sing;

public class SouthPeople extends Persion implements Sing {//定义南方人类
    public SouthPeople(String name, int age) {
        super(name, age);
    }

    @Override
    void eat() {
        System.out.println(name + "吃米饭");
    }

    @Override
    public void body() {
        System.out.println(name + "身体小巧");
    }

    public void sing(){
        System.out.println(name + "唱黄梅戏");
    }
}
